#include<stdio.h>

int main()
{4
	int a = 40;
	int c = 212;
	int result = (-8 + 22) * a - 10 + c / 2;
	printf("(-8 + 22) * a - 10 + c / 2 = %d\n", result);
	return 0;
}